//
//  TCUUserNotification.h
//  TreeMenuTest
//
//  Created by Etienne on 11/07/07.
//  Copyright (c) 2007 Etienne Samson. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import <CoreFoundation/CFUserNotification.h>

/*NSString * const NSUserNotificationIconURLKey;
NSString * const NSUserNotificationSoundURLKey;
NSString * const NSUserNotificationLocalizationURLKey;
NSString * const NSUserNotificationAlertHeaderKey;
NSString * const NSUserNotificationAlertMessageKey;
NSString * const NSUserNotificationDefaultButtonTitleKey;
NSString * const NSUserNotificationAlternateButtonTitleKey;
NSString * const NSUserNotificationOtherButtonTitleKey;
NSString * const NSUserNotificationProgressIndicatorValueKey;
NSString * const NSUserNotificationPopUpTitlesKey;
NSString * const NSUserNotificationTextFieldTitlesKey;
NSString * const NSUserNotificationCheckBoxTitlesKey;
NSString * const NSUserNotificationTextFieldValuesKey;
NSString * const NSUserNotificationPopUpSelectionKey;*/

@interface TCUUserNotification : NSObject {
}

+ (int) displayAlert:(NSString*)title message:(NSString*)message timeout:(double)timeout;
+ (void) displayNotice:(NSString*)title message:(NSString*)message timeout:(double)timeout;

+ (id) notificationWithDictionary:(NSDictionary*)dict;

- (id) initWithDictionary:(NSDictionary*)dict;
- (void) runInRunLoop:(NSRunLoop*)runLoop andDelegate:(id)delegate;

- (void) cancel;
- (int) recieveResponseBeforeTimeout:(double)timeout;

- (NSDictionary*) responseDictionary;
- (void) updateWithDictionary:(NSDictionary*)dictionary;

@end
